Mastering Text Mining with R by Ashish Kumar & Avinash Paul

Mastering Text Mining with R by Ashish Kumar & Avinash Paul

Author:Ashish Kumar & Avinash Paul [Kumar, Ashish]
Language: eng
Format: azw3
Publisher: Packt Publishing
Published: 2016-12-28T05:00:00+00:00


Pearson's Chi-squared test

#Chi-square test print(chisq.test(data)) X-squared = 14589.07, df = 121, p-value < 2.2e-16 #Total Inertia print(sum(cadataframe$scree[,2])) [1] 2.499841 # Square root of the Total Inertia print(sqr.trace) [1] 1.581 # Correspondence Analysis summary print(cadataframe) Principal inertias (eigenvalues): dim value % cum% scree plot 1 0.689905 27.6 27.6 ************************* 2 0.639174 25.6 53.2 *********************** 3 0.342155 13.7 66.9 ************ 4 0.280273 11.2 78.1 ********** 5 0.196284 7.9 85.9 ******* 6 0.154954 6.2 92.1 ****** 7 0.142684 5.7 97.8 ***** 8 0.048760 2.0 99.8 ** 9 0.005384 0.2 100.0 10 0.000232 0.0 100.0 11 3.5e-050 0.0 100.0 -------- ----- Total: 2.499841 100.0



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.